﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Lidgren.Network;

namespace CodeGame.Networking.Clientside
{
    internal static class ClientProtocolScripted
    {
        public static void SendScriptedMessage(int id, string content)
        {
            NetOutgoingMessage msg = Singletons.Network.CreateMessage(ClientServerNet.ScriptedPacket);

            msg.Write(id);
            msg.Write(content);

            Singletons.Network.SendMessage(msg);
        }
    }
}
